package com.zhuiyi.yiqingbackend.mapper;

import com.zhuiyi.yiqingbackend.domain.Base;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface BaseMapper {

    List<Base> getBases();

    boolean addBase(Base base);

    boolean deleteBaseById(int id);

    boolean updateBase(Base base);

    Base getBaseById(int id);

    Base getBaseByPhone(String phone);

}
